package com.wechat.ferry.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <p>
 * 用户生日信息记录
 * </p>
 *
 * @author Chuan.Chen
 * @since 2025-02-19
 */
@TableName("wx_user_birthday_record")
@ApiModel(value = "WxUserBirthdayRecord对象", description = "用户生日信息记录")
@AllArgsConstructor
@NoArgsConstructor
public class WxUserBirthdayRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("用户")
    private String userName;

    @ApiModelProperty("生日信息")
    private String birthday;

    @ApiModelProperty("最近过生日日期")
    private String recentlyBirthday;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }
    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }
    public String getRecentlyBirthday() {
        return recentlyBirthday;
    }

    public void setRecentlyBirthday(String recentlyBirthday) {
        this.recentlyBirthday = recentlyBirthday;
    }


    public WxUserBirthdayRecord(String userName, String birthday, String recentlyBirthday) {
        this.userName = userName;
        this.birthday = birthday;
        this.recentlyBirthday = recentlyBirthday;
    }

    @Override
    public String toString() {
        return "WxUserBirthdayRecord{" +
            "id=" + id +
            ", userName=" + userName +
            ", birthday=" + birthday +
            ", recentlyBirthday=" + recentlyBirthday +
        "}";
    }
}
